U_CAPI UTextOffset U_EXPORT2 ubidi_getVisualIndex (UBiDi *pBiDi, UTextOffset logicalIndex, UErrorCode *pErrorCode)

Get the visual position from a logical text position

Documentation

Get the visual position from a logical text position. If such a mapping is used many times on the same UBiDi object, then calling ubidi_getLogicalMap() is more efficient.

Note that in right-to-left runs, this mapping places modifier letters before base characters and second surrogates before first ones.

Returns:
The visual position of this character.
Parameters:
pBiDi - is the paragraph or line UBiDi object.
logicalIndex - is the index of a character in the text.
pErrorCode - must be a valid pointer to an error code value, which must not indicate a failure before the function call.
See Also:
ubidi_getLogicalMap
ubidi_getLogicalIndex

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de